/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Ejercicio_11_5_1;

/**
 *
 * @author alumno
 */
public class TecnicoClass extends EmpleadoClass {

       public String[] competencias ;

       public void mostrarInfo(){

            System.out.println("------------------------");
            System.out.println("Nombre: " + this.getNombre());
            System.out.println("Cargo: " + this.getCargo());
            System.out.println("Nivel: " + this.getNivel() );
            System.out.println("Id: " + this.getId() );

            for (int count = 0; count < this.competencias.length; count++) {

                System.out.println("Competencias: " + this.competencias[count]);

            }
                    
            System.out.println("------------------------");

       }

    public String[] getCompetencias() {
        return competencias;
    }

    public void setCompetencias(String[] competencias) {
        this.competencias = competencias;
    }
    

}
